<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        if(!Zend_Auth::getInstance()->hasIdentity())
            $this->_redirect ('/auth/login');
        
        $this->view->site = $this->getRequest()->getControllerName();
    }

    public function indexAction()
    {
        // action body
    }

    public function getdayaAction()
    {
        // action body
    }


}



